<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./ff.css">
</head>
<body>
    <div class="spikes">
    <h1>实时天气</h1>
    <div class="weather-container">
        <input type="text" id="city" placeholder="输入城市名" />
        <button onclick="getWeather()">获取天气</button>
        <div id="weather" class="weather-info"></div>
    </div>
    <div class="my">
        <a href="https://gitee.com/lone-crane-in-heaven-and-earth/fenglingjian"><h1>码云仓库</h1></a>
     </div>

</div>
     
    <script src="script.js"></script>  
</body>
</html>